package com.bankcomm.bean;


/**
 * 火车票
 * @author huang.x.h
 *
 * @date 2012-5-24 下午07:19:42
 */
public final class TrainTicket extends Ticket {
	
		/*{
		"departDate":"07:00",
		"arriveDate":"12:20",
		"org":"上海虹桥",
		"dst":"北京南",
		"no":"G102",
		"type":"高速动车",
		"time":"5时20分",
		"distance":"1318KM",
		"ticket_min_price":"￥553.0",
		"ticket_max_price":"￥1748.0",
		}*/
	
	/** 所有的属性 */
	public final static String KEY_ORG = "org";     /** 出发地 */
	public final static String KEY_DST = "dst";     /** 到达地 */
	public final static String KEY_NO = "no";       /** 车次 */
	public final static String KEY_TYPE = "type";     			 	/** 火车类型(动车、空调车、直达等等) */
//	public final static String KEY_PRICE = "price";     			/** 价格 */
	public final static String KEY_DEPART_DATE = "departDate";     /** 发车时间 */
	
	public final static String KEY_ARRIVE_DATE = "arriveDate";     /** 到达时间 */
	public final static String KEY_MIN_PRICE = "ticket_min_price";     			/** 最低价格 */
	public final static String KEY_MAX_PRICE = "ticket_max_price";     			/** 最高价格 */
	public final static String KEY_TIME = "time";     					/** 用时 */
	public final static String KEY_DISTANCE = "distance";     			/** 距离 */
	public final static String KEY_URL = "url";     			/** 距离 */
	
	
	
//	public final static String KEY_PASSENGER = "passenger";     	/** 乘机人 */
//	public final static String KEY_IDCARD = "IDCard";     			/** 身份证号码 */
//	public final static String KEY_POSITION = "position";     		/** 车厢座位 */
	
	/** 所有的成员变量 */
	private String org;
	private String dst;
	private String no;
//	private String passenger;
	private String type;
	private String departDate;
//	private String price;
//	private String idCard;
//	private String position;
	private String arriveDate;
	private String ticket_min_price;
	private String ticket_max_price;
	private String time;
	private String distance;
	private String url;
	
	public String getUrl(){
		return url;
	}
	
	public void setUrl(String url){
		this.url = url;
	}
	
	public String getOrg() {
		return org;
	}

	public void setOrg(String org) {
		this.org = org;
	}

	public String getDst() {
		return dst;
	}

	public void setDst(String dst) {
		this.dst = dst;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	/*public String getPassenger() {
		return passenger;
	}*/

	/*public void setPassenger(String passenger) {
		this.passenger = passenger;
	}*/

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDepartDate() {
		return departDate;
	}

	public void setDepartDate(String departDate) {
		this.departDate = departDate;
	}

	/*public String getPrice() {
		return price;
	}*/

	/*public void setPrice(String price) {
		this.price = price;
	}*/

	/*public String getIdCard() {
		return idCard;
	}*/

	/*public void setIdCard(String idCard) {
		this.idCard = idCard;
	}*/

	/*public String getPosition() {
		return position;
	}*/

	/*public void setPosition(String position) {
		this.position = position;
	}*/
	
	public void setArriveDate(String arriveDate) {
		this.arriveDate = arriveDate;
	}
	
	public String getArriveDate(){
		return arriveDate;
	}

	public static String getKeyOrg() {
		return KEY_ORG;
	}

	public static String getKeyDst() {
		return KEY_DST;
	}

	public static String getKeyNo() {
		return KEY_NO;
	}

	/*public static String getKeyPassenger() {
		return KEY_PASSENGER;
	}*/

	public static String getKeyType() {
		return KEY_TYPE;
	}

	public static String getKeyDepartDate() {
		return KEY_DEPART_DATE;
	}

	public static String getKeyUrl() {
		return KEY_URL;
	}

/*	public static String getKeyPrice() {
		return KEY_PRICE;
	}*/

	/*public static String getKeyIdcard() {
		return KEY_IDCARD;
	}*/

	/*public static String getKeyPosition() {
		return KEY_POSITION;
	}*/
	
	public static String getKeyArriveDate() {
		return KEY_ARRIVE_DATE;
	}
	
	public static String getKeyTicketMinPrice() {
		return KEY_MIN_PRICE;
	}
	
	public static String getKeyTicketMaxPrice() {
		return KEY_MAX_PRICE;
	}
	
	public static String getKeyTime() {
		return KEY_TIME;
	}
	
	public static String getKeyDistance() {
		return KEY_DISTANCE;
	}
	
	public TrainTicket() {
		setTicketType("train");
	}

	/**
	 * @return the ticket_min_price
	 */
	public String getTicket_min_price() {
		return ticket_min_price;
	}

	/**
	 * @param ticketMinPrice the ticket_min_price to set
	 */
	public void setTicket_min_price(String ticketMinPrice) {
		ticket_min_price = ticketMinPrice;
	}

	/**
	 * @return the ticket_max_price
	 */
	public String getTicket_max_price() {
		return ticket_max_price;
	}

	/**
	 * @param ticketMaxPrice the ticket_max_price to set
	 */
	public void setTicket_max_price(String ticketMaxPrice) {
		ticket_max_price = ticketMaxPrice;
	}

	/**
	 * @return the time
	 */
	public String getTime() {
		return time;
	}

	/**
	 * @param time the time to set
	 */
	public void setTime(String time) {
		this.time = time;
	}

	/**
	 * @return the distance
	 */
	public String getDistance() {
		return distance;
	}

	/**
	 * @param distance the distance to set
	 */
	public void setDistance(String distance) {
		this.distance = distance;
	}
}
